home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / MacApp Documentation / MacApp AppleLink Messages / MacApp.Tech$ 4⁄13⁄90 / 1053-RE[3] Window doesn't-Apr90 < prev    next >
Encoding:
Text File  |  1990-04-16  |  1.2 KB  |  37 lines  |  [TEXT/GEOL]

  1. Item forwarded  by  A33          to A34
  2.  
  3. Item    6556999                         7-April-90        00:46PDT
  4.  
  5. From:   D0416                           Futuresoft System Design,PRT
  6.  
  7. To:     CH0068                          CH DEV Hamilton, Bonaduz,IDV
  8.  
  9. cc:     MACAPP.TECH$                    MacApp Technical
  10.  
  11. Sub:    RE[3] Window doesn't close
  12.  
  13. Thomas,
  14.  
  15. As both Tseung Cheung and Mark Dawson said, in 2.0ß9 a window which is NOT a
  16. Desk Accesory window will have to be marked as having a goAway box even if it
  17. doesn’t to avoid MacApp hanging while quiting. (Yuck)
  18.  
  19. Also according to Mark, the problem is fixed in 2.0 final. (Yea!)
  20.  
  21. In the interim, prehaps you could set your window as closable by the statement:
  22.  
  23.     aWindow := NewTemplateWindow(…); {create my window without goAway box}
  24.     aWindow.fIsClosable := TRUE; {mark window as closable to avoid 2.0ß9 bug}
  25.  
  26. I haven’t tried this but TWindow.IRes inits the fIsCloseable field to the
  27. window template’s goAway box setting of TRUE/FALSE so if you go behind MacApp
  28. and set it to TRUE all should work. Also, I guess you could instead reset
  29. fIsClosable in an override of TWindow.IRes and get the same results in a more
  30. “OOP” fashion.
  31.  
  32. Hope that helps,
  33.  Ken_Addison.Close
  34.  FutureSoft System Designs, Inc.
  35.  
  36.  
  37.